#!/bin/sh

#Set your wallpaper here
wallpaper=~/.config/wallpaper

# disable trackpad if it exists
if [ -n "$(xinput | grep TouchPad)" ]
then
    id=$(xinput | grep TouchPad | awk '{print $6}'| cut -c 4-5)
    xinput --disable $id
fi

# status bar
slstatus &

# composition
compton &

# set screens
xrdb ~/.Xresources
redshift &
# Start window manager
while true; do
	display-visor
	/usr/local/bin/dwm
done
